<script src="scripts/Rectangle.js"></script>
<script src="scripts/tools.js"></script>
<script src="scripts/waso.js"></script>
<script src="scripts/heartCounter.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/composite.js"></script>
<script src="scripts/building.js"></script>
<script src="scripts/levels.js"></script>
<script src="scripts/misc.js"></script>
<script src="scripts/frontmisc.js"></script>
<script src="scripts/portada.js"></script>
<script src="scripts/game.js"></script>
<body style="text-align:center; background-color:gray">
	<canvas id="canvas" width="800" height="600"
		style="background-color:white"></canvas>
</body>
<div id="console" style="position: absolute; top: 30px; left: 5px;
	width: 200px;"></div>
<div id="mouser"></div>
<div id="keyboard"></div>
<script>
	new Game().run();
	
	function ClearConsole() {
		game.console.clear();
	}
	
	/*game.registerKeyPress(KeyPress);
	
	function KeyPress(charCode) {
		var m = document.getElementById("keyboard");
		m.innerHTML = "Char: " + charCode;
	}*/
</script>